package demo1;

public class Doctor implements IActivity{
    String specialty;
    double salary;
    String hospitalName;

    public Doctor() {
    }

    public Doctor(String specialty, double salary, String hospitalName) {
        this.specialty = specialty;
        this.salary = salary;
        this.hospitalName = hospitalName;
    }

    @Override
    public void working() {

    }
}
